$OpenBSD: patch-third_party_webrtc_base_BUILD_gn,v 1.3 2017/04/28 22:22:36 robert Exp $
--- third_party/webrtc/base/BUILD.gn.orig.port	Wed Apr 19 21:07:52 2017
+++ third_party/webrtc/base/BUILD.gn	Thu Apr 27 19:56:04 2017
@@ -566,16 +566,15 @@ rtc_static_library("rtc_base") {
 
   if (use_x11) {
     libs += [
-      "dl",
-      "rt",
       "Xext",
       "X11",
       "Xcomposite",
       "Xrender",
     ]
+    cflags += [ "-I/usr/XXXXX11R6/include" ]
   }
 
-  if (is_linux) {
+  if (is_linux && !is_openbsd) {
     libs += [
       "dl",
       "rt",
